projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e56a29d
)
(x_draw_image_glyph_string): Adjust stipple origin when
author
YAMAMOTO Mitsuharu
<mituharu@math.s.chiba-u.ac.jp>
Sat, 11 Aug 2007 02:06:25 +0000
(
02:06
+0000)
committer
YAMAMOTO Mitsuharu
<mituharu@math.s.chiba-u.ac.jp>
Sat, 11 Aug 2007 02:06:25 +0000
(
02:06
+0000)
filling pixmap with stippled background.
src/xterm.c
patch
|
blob
|
history
diff --git
a/src/xterm.c
b/src/xterm.c
index 00d653fc19f6e91b889786e4f423f5ec32a64cfc..512fff35f50d47caf64258385a1e93feb1e72a45 100644
(file)
--- a/
src/xterm.c
+++ b/
src/xterm.c
@@
-2476,9
+2476,11
@@
x_draw_image_glyph_string (s)
{
/* Fill background with a stipple pattern. */
XSetFillStyle (s->display, s->gc, FillOpaqueStippled);
+ XSetTSOrigin (s->display, s->gc, - s->x, - s->y);
XFillRectangle (s->display, pixmap, s->gc,
0, 0, s->background_width, s->height);
XSetFillStyle (s->display, s->gc, FillSolid);
+ XSetTSOrigin (s->display, s->gc, 0, 0);
}
else
{